﻿using Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SYT.AliApiHandle;
using SYT.Web.liberty;

namespace SYT.Web.Controllers
{
    //产品批量编辑
    public class ProductBatchEditController : MasterPage
    {
        public string OperationType = "";


        public ActionResult Index()
        {
            //给属性赋值
            OperationType = Request["OperationType"]; 
            //返回到指定Action.
           return RedirectToAction(OperationType);
        }

        //编辑标题
        public ActionResult EditTitle()
        {
            return View();
        }
        //批量修改可销售数量
        public ActionResult EditSalesVolumes()
        {          
            return View();
        }
        //批量修改商品属性
        public ActionResult EditProductFeature()
        {
            //最近发现有不是子叶类目的产品，最好判断一下。
            List<Category_AttributeInfo> Category_AttributeInfo = Category_AttributeInfoHeple.GetCategory_AttributeInfo("319", "0;");
            ViewBag.Category_AttributeInfo = Category_AttributeInfo;

            return View();

        }
    }
}

